package pers.mtx.myapplication.model;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class Classes {
    @JsonProperty("classesId")
    private int classesid;
    @JsonProperty("parentId")
    private String parentid;
    private String ancestors;
    @JsonProperty("classesName")
    private String classesname;
    @JsonProperty("orderNum")
    private String ordernum;
    private String leader;
    private String phone;
    private String email;
    @JsonProperty("parentName")
    private String parentname;
    private List<String> children;
    public void setClassesid(int classesid) {
         this.classesid = classesid;
     }
     public int getClassesid() {
         return classesid;
     }
    public void setParentid(String parentid) {
         this.parentid = parentid;
     }
     public String getParentid() {
         return parentid;
     }
    public void setAncestors(String ancestors) {
         this.ancestors = ancestors;
     }
     public String getAncestors() {
         return ancestors;
     }
    public void setClassesname(String classesname) {
         this.classesname = classesname;
     }
     public String getClassesname() {
         return classesname;
     }
    public void setOrdernum(String ordernum) {
         this.ordernum = ordernum;
     }
     public String getOrdernum() {
         return ordernum;
     }
    public void setLeader(String leader) {
         this.leader = leader;
     }
     public String getLeader() {
         return leader;
     }
    public void setPhone(String phone) {
         this.phone = phone;
     }
     public String getPhone() {
         return phone;
     }
    public void setEmail(String email) {
         this.email = email;
     }
     public String getEmail() {
         return email;
     }
    public void setParentname(String parentname) {
         this.parentname = parentname;
     }
     public String getParentname() {
         return parentname;
     }
    public void setChildren(List<String> children) {
         this.children = children;
     }
     public List<String> getChildren() {
         return children;
     }
}